home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / video / fly8111-.000 / fly8111- / fly8 / MSDOS / makec7 < prev    next >
Text File  |  1979-12-31  |  2KB  |  103 lines

  1. # makefile
  2. #
  3. # This is part of the flight simulator 'fly8'.
  4. # Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
  5. #
  6.  
  7. #
  8. # machine specific makefile for msdos, ms c7
  9. #
  10.  
  11. CDIR=    ..\..
  12. HH=    $(CDIR)\h
  13. RSP=    $(TMP)\libfly8.rsp
  14.  
  15. CFLAGS=    -I$(HH) -I.. $(XFLAGS) 
  16.  
  17. #    Non portable programs
  18. #
  19. COBJS=    mouse.obj stick.obj dosstick.obj console.obj timer.obj pcserial.obj \
  20.     packet.obj slip.obj pcdos.obj drivers.obj misc.obj \
  21.     grfast.obj s3.obj grqc.obj grstat.obj plspeak.obj plsound.obj \
  22.     grvesa.obj vesa.obj vgr.obj
  23.  
  24. AOBJS=    msubs.obj
  25.  
  26. OBJS=    $(COBJS) $(AOBJS)
  27.  
  28. HFILES=    ..\fly.h config.h
  29.  
  30. .PRECIOUS: msubs.obj
  31.  
  32.  
  33. all:    fly8sys.lib exe
  34.  
  35. exe:    gettimer.exe settimer.exe joytest.exe
  36.  
  37. fly8sys.lib:    $(OBJS)
  38.     if exist fly8sys.lib del fly8sys.lib
  39.     echo fly8sys >$(RSP)
  40.     echo y >>$(RSP)
  41.     echo +mouse +stick +console +timer +pcserial +packet & >>$(RSP)
  42.     echo +msubs +dosstick +grstat & >>$(RSP)
  43.     echo +slip +pcdos +drivers +grfast +s3 +grqc +misc & >>$(RSP)
  44.     echo +plspeak +plsound +grvesa +vesa +vgr; >>$(RSP)
  45.     lib @$(RSP)
  46.     del $(RSP)
  47.  
  48. $(COBJS):    $(HFILES)
  49.  
  50. plsound.obj:    $(HFILES) ..\notes.h
  51.  
  52. plspeak.obj:    $(HFILES) ..\notes.h pc8254.h
  53.  
  54. grfast.obj:    $(HFILES) ..\colors.h $(HH)\gr.h
  55.  
  56. grvesa.obj:    $(HFILES) ..\colors.h vgr.h vesa.h
  57.  
  58. vesa.obj:    $(HFILES) vgr.h vesa.h
  59.  
  60. vgr.obj:    $(HFILES) vgr.h
  61.  
  62. grqc.obj:    $(HFILES) ..\colors.h
  63.  
  64. pcserial.obj:    $(HH)\com.h
  65.  
  66. timer.obj:    pc8254.h
  67.  
  68. stick.obj:    stick.h
  69.  
  70. dosstick.obj:    stick.h
  71.  
  72. packet.obj:    $(HH)\pktdrvr.h
  73.  
  74. slip.obj:    $(HH)\pktdrvr.h
  75.  
  76. msubs.obj:    msubs.qc
  77.     copy msubs.qc msubs.obj
  78.  
  79. #
  80. # Utility programs
  81. #
  82.  
  83. gettimer.exe:    gettimer.c
  84.     $(CC) -AL -Ox -W4 gettimer.c
  85.     lzexe gettimer.exe
  86.     del gettimer.old
  87.  
  88. settimer.exe:    settimer.c
  89.     $(CC) -AL -Ox -W4 settimer.c
  90.     lzexe settimer.exe
  91.     del settimer.old
  92.  
  93. joytest.exe:    joytest.c
  94.     $(CC) -AL -Ox -W4 joytest.c
  95.     lzexe joytest.exe
  96.     del joytest.old
  97.  
  98. clean:
  99.     -del *.exe
  100.     -del *.obj
  101.     -del *.lib
  102.     -del *.rsp
  103.